package com.qf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author ASUS
 * @version V1.0
 * @Project SpringCloud
 * @Package com.qf
 * @Date 2021/11/9 23:18
 */
@SpringBootApplication
@EnableEurekaClient   // 只支持注册中心是Eureka服务
//@EnableDiscoveryClient  // 不但支持Eureka服务，还支持Nacos，Zookeeper，Console，Redis……
public class AirSearchStarterApp {

    public static void main(String[] args) {
        SpringApplication.run(AirSearchStarterApp.class,args);
    }
}
